﻿using CNKI.TPI.Web.Admin.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CNKI.TPI.Web.Search.IBLL
{
    /// <summary>
    /// 
    /// </summary>
   public interface ITopicService
    {
       /// <summary>
       /// 根据专题代码获取专题数据
       /// </summary>
       /// <param name="topiccode"></param>
       /// <returns></returns>
       IList<SYS_CMS_TOPIC_PAGECONFIG> GetPageConfig(string topiccode);

        IList<SYS_CMS_TOPIC_DBCONFIG> GetDBConfig(string sysid);
        /// <summary>
        /// 根据专题编码获取信息
        /// </summary>
        /// <param name="topiccode"></param>
        /// <returns></returns>
        IList<SYS_CMS_TOPIC> GetTopicInfo(string topiccode);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="dbCode"></param>
        /// <param name="clsCode"></param>
        /// <param name="nodeCode"></param>
        /// <returns></returns>
       SYS_CMS_TOPIC_CLS_QUERY GetDBTopicQuery(string dbCode, string clsCode, string nodeCode);
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
       IList<SYS_CMS_TOPIC> GetTopicInfoAll();
    }
}
